import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import datalist from './modules/datalist'
import dataupdata from './modules/dataupdata'
import article from './modules/article'
import hos from './modules/hos'
import category from './modules/category'
import comment from './modules/comment'
// imporynsole from './modules/console'
// import console1 from './modules/console1'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    datalist,
    dataupdata,
    article,
    hos,
    category,
    comment,
    // console,
    // console1
  },
  getters
})

export default store
